package com.incar.chuxing.bean;

import java.util.List;

/**
 * Created by Michael on 11/11.
 */

public class CityBoundBean {


    /**
     * status : 200
     * message : 查询成功
     * attachment : {"version":"000","isNewest":0,"fenceArea":[{"id":3,"areaKey":"coreArea","strokeStyle":"#00ff00","isDotted":1,"strokeWeight":6,"fillStyle":"#6600ff00","fillOpacity":5,"fillZoom":13,"centerLng":120.418491,"centerLat":36.081681,"centerIcon":"","centerShowLevel":8,"hideLevel":-12,"status":1,"version":0,"fenceScope":[{"lng":120.062116,"lat":34.910656},{"lng":120.205844,"lat":35.843361},{"lng":120.23919,"lat":35.886362},{"lng":120.188597,"lat":35.937745},{"lng":120.117307,"lat":35.94615}]},{"id":7,"areaKey":"coreArea","strokeStyle":"#0000ff","isDotted":1,"strokeWeight":4,"fillStyle":"#44ff0000","fillOpacity":5,"fillZoom":-17,"centerLng":116.4774,"centerLat":39.916352,"centerIcon":"","centerShowLevel":8,"hideLevel":0,"status":1,"version":0,"fenceScope":[{"lng":119.962116,"lat":36.010656},{"lng":120.105844,"lat":35.943361},{"lng":120.13919,"lat":35.986362},{"lng":120.088597,"lat":36.037745},{"lng":120.017307,"lat":36.04615}]},{"id":2,"areaKey":"serviceArea","strokeStyle":"#5a595a","isDotted":1,"strokeWeight":3,"fillStyle":"#42000000","fillOpacity":1,"fillZoom":14,"centerLng":120.305844,"centerLat":36.043361,"centerIcon":"201808101205","centerShowLevel":0,"hideLevel":14,"status":1,"version":0,"fenceScope":[{"lng":120.162116,"lat":36.110656},{"lng":120.305844,"lat":36.043361},{"lng":120.33919,"lat":36.086362},{"lng":120.288597,"lat":36.137745},{"lng":120.117307,"lat":36.14615}]},{"id":5,"areaKey":"forbiddenArea","strokeStyle":"#5a595a","isDotted":0,"strokeWeight":3,"fillStyle":"#42000000","fillOpacity":26,"fillZoom":14,"centerLng":120.20182,"centerLat":35.967669,"centerIcon":"201808101205","centerShowLevel":0,"hideLevel":14,"status":1,"version":0,"fenceScope":[{"lng":120.062116,"lat":36.010656},{"lng":120.205844,"lat":35.943361},{"lng":120.23919,"lat":35.986362},{"lng":120.188597,"lat":36.037745},{"lng":120.117307,"lat":36.04615}]}]}
     */

    private int status;
    private String message;
    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        /**
         * version : 000
         * isNewest : 0
         * fenceArea : [{"id":3,"areaKey":"coreArea","strokeStyle":"#00ff00","isDotted":1,"strokeWeight":6,"fillStyle":"#6600ff00","fillOpacity":5,"fillZoom":13,"centerLng":120.418491,"centerLat":36.081681,"centerIcon":"","centerShowLevel":8,"hideLevel":-12,"status":1,"version":0,"fenceScope":[{"lng":120.062116,"lat":34.910656},{"lng":120.205844,"lat":35.843361},{"lng":120.23919,"lat":35.886362},{"lng":120.188597,"lat":35.937745},{"lng":120.117307,"lat":35.94615}]},{"id":7,"areaKey":"coreArea","strokeStyle":"#0000ff","isDotted":1,"strokeWeight":4,"fillStyle":"#44ff0000","fillOpacity":5,"fillZoom":-17,"centerLng":116.4774,"centerLat":39.916352,"centerIcon":"","centerShowLevel":8,"hideLevel":0,"status":1,"version":0,"fenceScope":[{"lng":119.962116,"lat":36.010656},{"lng":120.105844,"lat":35.943361},{"lng":120.13919,"lat":35.986362},{"lng":120.088597,"lat":36.037745},{"lng":120.017307,"lat":36.04615}]},{"id":2,"areaKey":"serviceArea","strokeStyle":"#5a595a","isDotted":1,"strokeWeight":3,"fillStyle":"#42000000","fillOpacity":1,"fillZoom":14,"centerLng":120.305844,"centerLat":36.043361,"centerIcon":"201808101205","centerShowLevel":0,"hideLevel":14,"status":1,"version":0,"fenceScope":[{"lng":120.162116,"lat":36.110656},{"lng":120.305844,"lat":36.043361},{"lng":120.33919,"lat":36.086362},{"lng":120.288597,"lat":36.137745},{"lng":120.117307,"lat":36.14615}]},{"id":5,"areaKey":"forbiddenArea","strokeStyle":"#5a595a","isDotted":0,"strokeWeight":3,"fillStyle":"#42000000","fillOpacity":26,"fillZoom":14,"centerLng":120.20182,"centerLat":35.967669,"centerIcon":"201808101205","centerShowLevel":0,"hideLevel":14,"status":1,"version":0,"fenceScope":[{"lng":120.062116,"lat":36.010656},{"lng":120.205844,"lat":35.943361},{"lng":120.23919,"lat":35.986362},{"lng":120.188597,"lat":36.037745},{"lng":120.117307,"lat":36.04615}]}]
         */

        private String version;
        private int isNewest;
        private List<FenceAreaBean> fenceArea;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public int getIsNewest() {
            return isNewest;
        }

        public void setIsNewest(int isNewest) {
            this.isNewest = isNewest;
        }

        public List<FenceAreaBean> getFenceArea() {
            return fenceArea;
        }

        public void setFenceArea(List<FenceAreaBean> fenceArea) {
            this.fenceArea = fenceArea;
        }

        public static class FenceAreaBean {
            /**
             * id : 3
             * areaKey : coreArea
             * strokeStyle : #00ff00
             * isDotted : 1
             * strokeWeight : 6
             * fillStyle : #6600ff00
             * fillOpacity : 5
             * fillZoom : 13
             * centerLng : 120.418491
             * centerLat : 36.081681
             * centerIcon :
             * centerShowLevel : 8
             * hideLevel : -12
             * status : 1
             * version : 0
             * fenceScope : [{"lng":120.062116,"lat":34.910656},{"lng":120.205844,"lat":35.843361},{"lng":120.23919,"lat":35.886362},{"lng":120.188597,"lat":35.937745},{"lng":120.117307,"lat":35.94615}]
             */

            private String id;
            private String areaKey;
            private String strokeStyle;
            private int isDotted;
            private int strokeWeight;
            private String fillStyle;
            private int fillOpacity;
            private int fillZoom;
            private double centerLng;
            private double centerLat;
            private String centerIcon;
            private int centerShowLevel;
            private int hideLevel;
            private int status;
            private String version;
            private List<FenceScopeBean> fenceScope;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAreaKey() {
                return areaKey;
            }

            public void setAreaKey(String areaKey) {
                this.areaKey = areaKey;
            }

            public String getStrokeStyle() {
                return strokeStyle;
            }

            public void setStrokeStyle(String strokeStyle) {
                this.strokeStyle = strokeStyle;
            }

            public int getIsDotted() {
                return isDotted;
            }

            public void setIsDotted(int isDotted) {
                this.isDotted = isDotted;
            }

            public int getStrokeWeight() {
                return strokeWeight;
            }

            public void setStrokeWeight(int strokeWeight) {
                this.strokeWeight = strokeWeight;
            }

            public String getFillStyle() {
                return fillStyle;
            }

            public void setFillStyle(String fillStyle) {
                this.fillStyle = fillStyle;
            }

            public int getFillOpacity() {
                return fillOpacity;
            }

            public void setFillOpacity(int fillOpacity) {
                this.fillOpacity = fillOpacity;
            }

            public int getFillZoom() {
                return fillZoom;
            }

            public void setFillZoom(int fillZoom) {
                this.fillZoom = fillZoom;
            }

            public double getCenterLng() {
                return centerLng;
            }

            public void setCenterLng(double centerLng) {
                this.centerLng = centerLng;
            }

            public double getCenterLat() {
                return centerLat;
            }

            public void setCenterLat(double centerLat) {
                this.centerLat = centerLat;
            }

            public String getCenterIcon() {
                return centerIcon;
            }

            public void setCenterIcon(String centerIcon) {
                this.centerIcon = centerIcon;
            }

            public int getCenterShowLevel() {
                return centerShowLevel;
            }

            public void setCenterShowLevel(int centerShowLevel) {
                this.centerShowLevel = centerShowLevel;
            }

            public int getHideLevel() {
                return hideLevel;
            }

            public void setHideLevel(int hideLevel) {
                this.hideLevel = hideLevel;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public List<FenceScopeBean> getFenceScope() {
                return fenceScope;
            }

            public void setFenceScope(List<FenceScopeBean> fenceScope) {
                this.fenceScope = fenceScope;
            }

            public static class FenceScopeBean {
                /**
                 * lng : 120.062116
                 * lat : 34.910656
                 */

                private double lng;
                private double lat;

                public double getLng() {
                    return lng;
                }

                public void setLng(double lng) {
                    this.lng = lng;
                }

                public double getLat() {
                    return lat;
                }

                public void setLat(double lat) {
                    this.lat = lat;
                }
            }
        }
    }
}
